package com.econtact.business.dao.impl;

import java.sql.SQLException;
import java.util.Random;

import org.springframework.stereotype.Repository;

import com.econtact.business.dao.UserDao;
import com.econtact.business.entity.User;
import com.framework.core.BaseDaoImpl;



@Repository("userDao")
public class UserDaoImpl extends BaseDaoImpl  implements UserDao{

	
	
	
	public int insertUser(User user) throws SQLException
	{
		super.getSqlMapClient().insert("user.insertUser",new Random().nextInt(100000));		 
		return 1;
	}

	public boolean validateUser(String loginName, String pwd)
	{
		// TODO Auto-generated method stub
		return false;
	}

	public boolean validateUserNameIsExist(String name)
	{
		// TODO Auto-generated method stub
		return false;
	}


}